/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Generate;

import freemarker.template.Configuration;
import freemarker.template.TemplateException;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author RoderickNestor
 */
public class Template {

    public void process() {
        /*Configuration cfg = new Configuration();
        try {
            cfg.setDirectoryForTemplateLoading(new File(path_tpl));
            freemarker.template.Template template_f = cfg.getTemplate(con_fun.getDefine("template"));
            Writer out = new StringWriter();
            template_f.process(data_fun, out);
            value_f = out.toString();
            System.err.println("Template" + value_f);
        } catch (IOException ex) {
            Logger.getLogger(AgileGenerator.class.getName()).log(Level.SEVERE, null, ex);
        } catch (TemplateException ex) {
            Logger.getLogger(AgileGenerator.class.getName()).log(Level.SEVERE, null, ex);
        }*/
    }
}
